package com.example.databasepj.Request;

import java.util.List;

public class OrderRequest {
    private int merchant_ID;
    private int user_ID;
    private List<OrderData> orderData;
    private int order_form;


    // 构造函数
    public OrderRequest(int merchant_ID, int user_ID, List<OrderData> orderData) {
        this.merchant_ID = merchant_ID;
        this.user_ID = user_ID;
        this.orderData = orderData;
    }

    // Getter和Setter方法
    public int getMerchant_ID() {
        return merchant_ID;
    }

    public void setMerchant_ID(int merchant_ID) {
        this.merchant_ID = merchant_ID;
    }

    public int getUser_ID() {
        return user_ID;
    }

    public void setUser_ID(int user_ID) {
        this.user_ID = user_ID;
    }

    public List<OrderData> getOrderData() {
        return orderData;
    }

    public void setOrderData(List<OrderData> orderData) {
        this.orderData = orderData;
    }
    public int getOrder_form() {
        return order_form;
    }

    public void setOrder_form(int order_form) {
        this.order_form = order_form;
    }

}


